import httpUtils from "@/core/utils/http.utils";
// service path
const urls = {
  'getSafePolicy': `/api/upms/sysDictItem/getSafePolicy`, // 获取安全策略
  'editSysDictItem': `/api/upms/sysDictItem/updateSafePolicy`, // 修改字典项
};
// service methods
const sysSafePolicy = {
  getSafePolicy () {
    return httpUtils.getEncrypt(urls.getSafePolicy);
  },
  updateSysDictItem(params) {
    return httpUtils.putEncrypt(urls.editSysDictItem, params);
  },
};

export default sysSafePolicy;